package com.vogue.supplymall.shop.domain.service;

import com.vogue.supplymall.common.domain.dto.SearchInfo;

import java.util.List;
import java.util.Map;

/**
 * The interface Home page biz.
 *
 * @param <T> the type parameter
 * @aouthor: zhangliang
 * @date: Create in 2017-12-21
 */
public interface HomePageBiz {

    /**
     * Gets administrative area.
     * 获取行政区域信息
     *
     * @return the administrative area
     */
    List<Map<String, String>> getAdministrativeArea();

    /**
     * Gets category.
     * 获取分类信息
     *
     * @return the category
     */
    List<Map<String, Object>> getCategory();

    /**
     * Gets shop.
     * 获取同城店铺信息
     *
     * @param searchInfo the search info
     * @return the shop
     */
    Object getShop(SearchInfo searchInfo);

    /**
     * 私有化平台信息
     * @param searchInfo
     * @return
     */
    Object getPrivatePlatformInfo(SearchInfo searchInfo);
}
